package com.example.order_engine.infrastructure.persistence;

import com.example.order_engine.domain.model.Order;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * 订单仓储接口
 */
@Repository
public interface OrderRepository extends JpaRepository<Order, String> {
    
    // 可以添加自定义查询方法
    // List<Order> findByCustomerId(String customerId);
    // List<Order> findByStatus(OrderStatus status);
}